Function: headers2Map

CALL:

value = headers2Map(headers)

DESCRIPTION:

Convert Http headers Java hashMap to a Matlab Map.

INPUT:

headers com.sun.net.httpserver.Headers
Java object with Http headers

OUTPUT:

value containers.Map
With the header parameter, value pairs. Get the values
value('name') e.g.